package com.inspur.cmis.service.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.cmis.mapper.MgrWorkResultMapper;
import com.inspur.cmis.pojo.MgrWorkHistory;
import com.inspur.cmis.pojo.MgrWorkResult;
import com.inspur.cmis.service.MgrWorkResultService;
@Service("mgrWorkResultService")
public class MgrWorkResultServiceImpl implements MgrWorkResultService {
	@Autowired
	private MgrWorkResultMapper mgrWorkResultMapper;

	

	@Override
	public void workResultAdd(MgrWorkResult mgrWorkResult) {
		mgrWorkResultMapper.workResultAdd(mgrWorkResult);
		
	}

	@Override
	public void deleteResult(int[] mgrkeys) {
		mgrWorkResultMapper.deleteResult(mgrkeys);
		
	}

	@Override
	public List<MgrWorkResult> getresultBykey(String key) {
		// TODO Auto-generated method stub
		return mgrWorkResultMapper.getresultBykey(key);
	}

	@Override
	public List<MgrWorkResult> getWorkResultList(HashMap<String, Object> map) {
		// TODO Auto-generated method stub
		return mgrWorkResultMapper.getWorkResultList(map);
	}

	@Override
	public void workResultupdate(MgrWorkResult mgrWorkResult) {
		// TODO Auto-generated method stub
		mgrWorkResultMapper.workResultupdate(mgrWorkResult);
	}

	@Override
	public List<MgrWorkResult> getworklisttrem(HashMap<String, Object> map) {
		// TODO Auto-generated method stub
		return mgrWorkResultMapper.getworklisttrem(map);
	}

	
}